<?php

namespace App\Kuafu\CouponPackage\Enum;

class CouponPackageEnum
{
    const STATUS_ON = 0;
    const STATUS_OFF = 1;

    const STATUS_MAP = [
        self::STATUS_OFF => '暂停',
        self::STATUS_ON  => '正常'
    ];

    const REACH_REMIND_ON = 0; //优惠券入账提醒 - 开启
    const REACH_REMIND_OFF = 1; //优惠券入账提醒 - 关闭

    const REACH_REMIND_MAP = [
        self::REACH_REMIND_ON => '开启',
        self::REACH_REMIND_OFF => '关闭',
    ];

    const EXPIRED_REMIND_ON = 0; //优惠券到期提醒 - 开启
    const EXPIRED_REMIND_OFF = 1; //优惠券到期提醒 - 关闭

    const EXPIRED_REMIND_MAP = [
        self::EXPIRED_REMIND_ON => '开启',
        self::EXPIRED_REMIND_OFF => '关闭',
    ];

    const MINI_ADV_POP_SWITCH_ON = 0; //小程序弹窗广告开关 - 开启
    const MINI_ADV_POP_SWITCH_OFF = 1; //小程序弹窗广告开关 - 关闭

    const MINI_ADV_POP_SWITCH_MAP = [
        self::MINI_ADV_POP_SWITCH_ON => '开启',
        self::MINI_ADV_POP_SWITCH_OFF => '关闭',
    ];

    const SHOP_TYPE_ALL       = 0;
    const SHOP_TYPE_FRANCHISE = 1;
    const SHOP_TYPE_DIRECT    = 2;
    const SHOP_TYPE_SELECTION = 3;

    /**
     * 店铺类型
     */
    const SHOP_TYPES = [
        self::SHOP_TYPE_ALL       => '全部',
        self::SHOP_TYPE_FRANCHISE => '加盟',
        self::SHOP_TYPE_DIRECT    => '直营',
        self::SHOP_TYPE_SELECTION => '已选门店',
    ];

    //是否支付
    const PAY_STATUS_ON  = 1; //已支付
    const PAY_STATUS_OFF = 0; //未支付
}
